package cn.stylefeng.guns.modular.biz.pojo.request;

import cn.stylefeng.roses.kernel.rule.pojo.request.BaseRequest;
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

/**
 * 入炉煤分摊记录封装类
 *
 * @author 张朋飞
 * @since 2024/11/01 15:56
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class OutWeightRecodsRequest extends BaseRequest {

    /**
     * 主键id
     */
    @NotNull(message = "主键id不能为空", groups = {edit.class, delete.class})
    @ChineseDescription("主键id")
    private Long owrId;
    /**
     * 仓位管理编号
     */
//    @NotBlank(message = "仓位管理编号不能为空", groups = {add.class, edit.class})
    @ChineseDescription("仓位管理编号")
    private String wiqCode;
    /**
     * 重量
     */
    @NotNull(message = "重量不能为空", groups = {add.class, edit.class})
    @ChineseDescription("重量")
    private BigDecimal weight;
    /**
     * 总热值
     */
    @ChineseDescription("总热值")
    private String sumQnetar;
    /**
     * 总干基硫分
     */
    @ChineseDescription("总干基硫分")
    private String sumStd;
    /**
     * 平均热值
     */
    @ChineseDescription("平均热值")
    private String avgQnetar;
    /**
     * 平均干基硫分
     */
    @ChineseDescription("平均干基硫分")
    private String avgStd;
    /**
     * 投料时间
     */
    @ChineseDescription("投料时间")
	private String gatherDate;

    /**
     * 批量删除用的id集合
     */
    @NotNull(message = "批量删除id集合不能为空", groups = batchDelete.class)
    @ChineseDescription("批量删除用的id集合")
    private List<Long> batchDeleteIdList;

    private List<OutWeightRecodsCoalQuantityRequest> coalQuantitys;

}